package com.io.testHttp;

import cn.hutool.http.HttpUtil;

import java.util.HashMap;

/**
 * @author keyer
 * @Description : 描述
 * Created by cyd on 2021-04-13 16:24:56
 */
public class TestPost {

    public static void testPost() {
        HashMap<String, Object> paramMap = new HashMap<>();
        paramMap.put("city", "北京");

        String result = HttpUtil.post("https://www.baidu.com", paramMap);
        System.out.println(result);
    }

    public static void main(String[] args) {
        testPost();
    }
}
